home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 3 / ACE CD 3.iso / files / utils / cando12.dms / in.adf / HelpFiles / FlowControl / CMD.DATA next >
Encoding:
Text File  |  1990-01-29  |  4.2 KB  |  179 lines

  1. |ifendif|
  2. windowtitle `The If...EndIf FlowControl      PAGE 1`
  3. printlf `If {logical expression}`
  4. printlf `   ...Commands...`
  5. printlf `EndIf`
  6. printlf
  7. nextpage `@`ifendif#2`
  8. print `SEE ALSO: Next Page & `
  9. subject `Else`If..Else..EndIf`
  10. end
  11.  
  12. |ifendif#2|
  13. windowtitle `The If...EndIf FlowControl      PAGE 2`
  14. printlf `   Performs the commands only if the logical` 
  15. printlf `expression is TRUE.`
  16. prevpage `@`ifendif`
  17. end
  18.  
  19. |ifelseendif|
  20. windowtitle `The If..Else..EndIf FlowControl  PAGE 1`
  21. printlf `If {logical expression}`
  22. printlf `   ...IfCommands...`
  23. printlf `Else`
  24. printlf `   ...ElseCommands...`
  25. printlf `EndIf`
  26. print `SEE ALSO: Next Page & `
  27. nextpage `@`else#2`
  28. subject `If..EndIf`If..EndIf`
  29. end
  30.  
  31. |else#2|
  32. windowtitle `The If..Else..EndIf FlowControl  PAGE 2`
  33. prevpage `@`ifelseendif`
  34. printlf `If the logical expression is True then the
  35. printlf `first set of commands will execute.  Else,
  36. printlf `the second set of commands will execute.
  37. end
  38.  
  39. |whileendloop|
  40. windowtitle `The While..EndLoop FlowControl  PAGE 1`
  41. printlf `While {logical expression}`
  42. printlf `    ...Commands...`
  43. printlf `EndLoop`
  44. printlf
  45. printlf `SEE ALSO: Next Page &`
  46. print   `          `
  47. nextpage `@`wel#2`
  48. subject `While..Until`While..Until`
  49. print ` & `
  50. subject `Loop..Until`Loop..Until`
  51. end
  52.  
  53. |wel#2|
  54. windowtitle `The While..EndLoop FlowControl  PAGE 2`
  55. printlf `Loop as long as the logical expression
  56. printlf `is true.
  57. prevpage `@`whileendloop`
  58. end
  59.  
  60. |loopuntil|
  61. windowtitle `The Loop..Until FlowControl     PAGE 1`
  62. printlf `Loop`
  63. printlf `   ...Commands...`
  64. printlf `Until {logical expression}`
  65. printlf
  66. printlf `SEE ALSO: Next Page &`
  67. print   `          `
  68. nextpage `@`lu#2`
  69. subject `Loop..EndLoop`Loop..EndLoop`
  70. print ` & `
  71. subject `While..Until`While..Until`
  72. end
  73.  
  74. |lu#2|
  75. windowtitle `The Loop..Until FlowControl     PAGE 2`
  76. printlf `Loop until the logical expression
  77. printlf `is true.
  78. prevpage `@`loopuntil`
  79. end
  80.  
  81. |whileuntil|
  82. windowtitle `The While..Until FlowControl    PAGE 1`
  83. printlf `While {logical expression}`
  84. printlf `   ...Commands...`
  85. printlf `Until {logical expression}`
  86. printlf
  87. printlf `SEE ALSO: Next Page &`
  88. print   `          `
  89. nextpage `@`wu#2`
  90. subject `Loop..Until`Loop..Until`
  91. print ` & `
  92. subject `While..EndLoop`While..Endloop`
  93. end
  94.  
  95. |wu#2|
  96. windowtitle `The While..Until FlowControl    PAGE 2`
  97. printlf `Loop as long as the top logical
  98. printlf `expression is TRUE and the bottom
  99. printlf `logical expression is false.
  100. prevpage `@`whileuntil`
  101. end
  102.  
  103. |loopendloop|
  104. windowtitle `The Loop..EndLoop FlowControl    PAGE 1`
  105. printlf `Loop`
  106. printlf `   ...Commands...`
  107. printlf `EndLoop`
  108. printlf
  109. printlf `SEE ALSO: Next Page &`
  110. print   `          `
  111. nextpage `@`le#2`
  112. subject `Loop..Until`Loop..Until`
  113. print ` & `
  114. subject `While..EndLoop`While..Endloop`
  115. end
  116.  
  117. |le#2|
  118. windowtitle `The Loop..EndLoop FlowConrol    PAGE 2`
  119. print `Loop forever, or until `
  120. subject `ExitLoop`ExitLoop`
  121. printlf ` is used.`
  122. prevpage `@`loopendloop`
  123. end
  124.  
  125. |exitloop|
  126. windowtitle `ExitLoop`
  127. printlf `Exits the Highest Loop Level.  It
  128. print `is recommended that `
  129. subject `While`While..EndLoop`
  130. print ` and `
  131. subject `Until`Loop..Until`
  132. printlf
  133. printlf `looping is used instead of ExitLoop.`
  134. end
  135.  
  136. |do|
  137. windowtitle `Do "Routine Name"{,Argument1,...,Argument10}`
  138. printlf `Performs the routine created using the
  139. printlf `Routine Object.  The routine can use the
  140. printlf `optional Arguments as incoming data.  See
  141. printlf `page 6-21 in the User's Manual for more
  142. printlf `information about this powerful command.`
  143. end
  144.  
  145. |exitscript|
  146. windowtitle `ExitScript`
  147. printlf `Exits a script before reaching the last
  148. printlf `command in the script.  If the script is a
  149. printlf `Routine, then control will return to the
  150. printlf `caller.
  151. printlf
  152. print `SEE ALSO: `
  153. subject `StopScript`StopScript`
  154. end
  155.  
  156. |stopscript|
  157. windowtitle `StopScript`
  158. print `Similar to `
  159. subject `ExitScript`ExitScript`
  160. printlf `; however, if it is
  161. printlf `performed from a Routine, execution
  162. printlf `will not continue in the calling script.
  163. printlf `All calling scripts will stop execution
  164. printlf `early.  Your application will continue to
  165. print `run.  SEE ALSO: `
  166. subject `Quit`Quit`
  167. print `.`
  168. end
  169.  
  170. |quit|
  171. windowtitle `Quit`
  172. printlf `Allows the user to exit the presently
  173. printlf `running Deck.  If running under CanDo
  174. printlf `this command will not work. However,
  175. printlf `it will work if running as a separate
  176. printlf `application.
  177. end
  178.  
  179.